A User Guide to ADOL { F : Automatic Di erentiation of FORTRAN CodesD

نویسندگان

  • Dmitri Shiriaev
  • Andreas Griewank
  • Jean Utke
چکیده

The package ADOL{F described here is a FORTRAN 90 interface to the ADOL{C library and facilitates the evaluation of rst and higher derivatives of vector functions that are deened by computer programs written in FORTRAN 90/77. The numerical values of derivative vectors are obtained free of truncation errors at a small multiple of the run time and randomly accessed memory of the given function evaluation program. Derivative matrices are obtained by columns or rows. For solution curves deened by ordinary diierential equations, special routines are provided that evaluate the Taylor coeecient vectors and their Jacobians with respect to the current state vector. The derivative calculations involve a possibly substantial (but always predictable) amount of data that are accessed strictly sequentially and are therefore automatically paged out to external les.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

ADIFOR Generating Derivative Codes from Fortran Programs

The numericalmethods employed in the solution of many scienti c computing problems require the computation of derivatives of a function f R R Both the accuracy and the computational requirements of the derivative computation are usually of critical importance for the robustness and speed of the numerical solution ADIFOR Automatic Di erentiation In FORtran is a source transformation tool that ac...

متن کامل

Computing Large Sparse Jacobian Matrices Using Automatic Differentiation

The computation of large sparse Jacobian matrices is required in many important large-scale scienti c problems. We consider three approaches to computing such matrices: hand-coding, di erence approximations, and automatic di erentiation using the ADIFOR (Automatic Di erentiation in Fortran) tool. We compare the numerical reliability and computational e ciency of these approaches on applications...

متن کامل

Wrappers for ADOL-C in scripting languages using SWIG

R is a language and environment for statistical computing and graphics [1]. It currently is widely used in statistics and data mining. To obtain derivatives in R, one can use several non-native approaches, including the TMB system [2] and Ryacas [3]. However, none of these options support the di↵erentiation of functions expressed as R programs, as would an algorithmic di↵erentiation (AD) tool f...

متن کامل

Issues in Parallel Automatic Di erentiation

This paper shows how rst-order derivatives can be computed in parallel by considering the computational graph that underlies the evaluation of the target function. The graph can be generated eeciently from the ADOL-C computational trace and can be used to automatically deduce the structure of the Jacobian matrix and compute the Jacobian using the reverse mode of automatic diierentiation. By emp...

متن کامل

Binomial Checkpointing for Arbitrary Programs with No User Annotation

Heretofore, automatic checkpointing at procedure-call boundaries [1], to reduce the space complexity of reverse mode, has been provided by systems like Tapenade [2]. However, binomial checkpointing, or treeverse [3], has only been provided in AD systems in special cases, e.g., through user-provided pragmas on DO loops in Tapenade, or as the nested taping mechanism in adol-c for time integration...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995